header {
    background-color: yellow;
}


.wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
}

.enter {
    justify-self: end;
    position: relative;
}

.info {
    display: none;
}

.enter span {
    display: block;
}

.linkwrap {
    text-decoration: none;
}

.enterBtn {
    display: inline;
    margin: 1px;
    box-sizing: border-box;
    padding: 5px 18px;
    background-color: inherit;
    border-radius: 10px;
    border: 1px solid black;
    color: black;
    font-weight: bold ;
    cursor: pointer;
    transition: all .3s;

}

.enterBtn:hover, .enterBtn:active {
    background-color: rgb(218, 218, 0);
    transition: all .3s;
}

.exit {
    position: absolute;
    top: 0px;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: all .3s;

}

.exit:hover {
    transform: scale(1.1);
    transition: all .3s;
}

.exit:active {
    transform: scale(0.9);
    transition: all .3s;
}

.accordeon {
    position: absolute;
    bottom: 0px;
    right: 0px;
    transition: all .3s;
}

.accAvatar {
    width: 100px;
    height: 100px;
}

.accAvatar > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1200px) {
    .info {
        display: block;
    }

    .exit {
        top: 10px;
        right: -35px;
    
    }

    .accordeon {
        bottom: -2px;
        left: -35px;
    }

}

@media (max-width: 790px) {
    .wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        justify-items: stretch;
        gap: 5px;
    }

    .accordeon {
        left: -35px;
    }

    .exit {
        top: 7px;
        right: -35px;
    }

    .info {
        display: block;
    }

    .logo {
        justify-self: center;
    }

    .enter {
        justify-self: center;
    }
}

@media (max-width: 400px) {
 

    .info {
        display: none;
    }

    .accordeon {
        left: -20px;
        bottom: -27px;
    }

    .exit {
        top: -2px;
        right: -25px;
    }
}



